<script setup lang="ts">
import store from '@/store/index'
import { testStore } from '@/tool/test'

const { count } = store

function setCount() {
    count.value += 2
}
</script>

<template>
	<p @click="setCount">+2</p>
	<p @click="testStore">+3</p>
    <p>{{ count }}</p>
</template>

<style>
</style>
